<include file="../Public/header" />

<script data-main="__PUBLIC__/admin/js/page/admin/order/orderlist" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>

</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>订单管理</h1>
    </div>
    <div class="filterbar">
      <form id="search"  action="{:URL('cms/TextLink/textLink')}" method="post">
        <label for="">订单ID</label>
        <input type="text" name="order_no" id="order_no" value="{$order_no}" class="input-text">
        <button type="submit" class="btn-search" id="J_search" title="{$Think.lang.search}">
          <i class="icon-search"></i>
        </button>
      </form>
    </div>
    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="">订单id</th>
              <th style="">订单号</th>
              <th style="">企业用户</th>
              <th style="">支付用户</th>
              <th style="">支付类型</th>
              <th style="">支付金额</th>
              <th style="">备注</th>
              <th style="">状态</th>
              <th style="">支付时间</th>
            </tr>
          </thead>
          <tbody>
            <volist id="vo" name="data">
              <tr data-id="{$vo.orderId}">
                <td>{$vo.orderId}</td>
                <td>{$vo.order_no}  </td>
                <td>{$vo.vipername}</td>
                <td>{$vo.username}  </td>
                <td> 
                <eq name="vo.pay_type" value="1">微信支付</eq>
                <eq name="vo.pay_type" value="2">余额宝支付</eq>
                <eq name="vo.pay_type" value="3">appstore</eq>
                
                
                
                </td>
                <td>{$vo.amount}  </td>
                 <td>{$vo.note}  </td>
                  <td> 
                    <eq name="vo.status" value="0">订单未完成</eq>
                    <eq name="vo.status" value="1">交易成功</eq>
                  </td>
                   <td>  {$vo['ordertime'] | date="Y-m-d H:i:s",###}</td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
    </div>
    <div class="datas-ft">
      <div class="pager" style="text-align: right">{$page}</div>
    </div>
  </div>
  </div>
</body>

</html>
